package tech.aiotcloud.city.citybigdataweb;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;

import com.just.agentweb.AgentWeb;

import tech.aiotcloud.city.citybigdataweb.util.jsbridge.BridgeWebView;
import tech.aiotcloud.city.citybigdataweb.util.jsbridge.CallBackFunction;
import tech.aiotcloud.city.citybigdataweb.util.jsbridge.DefaultHandler;

public class MainActivity extends AppCompatActivity {
    private BridgeWebView webView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        webView = findViewById(R.id.webview);
        webView.loadUrl("https://appassets.androidplatform.net/assets/www/index.html");
//        webView.loadUrl("http://192.168.1.6:5501/index.html");
//        webView.loadUrl("https://baidu.com");

    }
}


